import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:search/page/search_logic.dart';
import 'package:search/wedgets/pull_zoom_img_view.dart';

class SearchPage extends StatelessWidget {
  final logic = Get.put<SearchLogic>(SearchLogic());

  SearchPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return PullZoomImgView(builder: (BuildContext context, int index) {
      return Container(
        padding: EdgeInsets.all(16),
        child: Text(
          "This is item $index",
          style: TextStyle(fontSize: 20),
        ),
        color: Colors.white70,
      );
    });
  }
}
